package com.zb.baidu.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @Author WEN
 * @Date 2024/4/24 0024
 **/
@Data
@ApiModel("地址识别对象")
public class AddressRecognitionSearchVo {
    @NotBlank(message = "地址信息不能为空")
    @Length(max = 500, message = "地址信息长度限制500个字符")
    @ApiModelProperty(value = "地址信息", required = true)
    private String text;
}
